|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.hci.InMacroPropertyModel
public class InMacroPropertyModel
This class represents an input property of a macro and
contains a name, a description and the required type of the property.
The type of an input property must be string,
number, or date.
PricingMacroModelThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="inProperty">
<xs:complexType>
<xs:sequence>
<xs:element ref="additionalInformation" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="type" type="xs:string"/>
<xs:attribute name="description" type="xs:string"/>
</xs:complexType>
</xs:element>
| Constructor Summary | |
|---|---|
InMacroPropertyModel()
Constructs an empty input property model. |
|
InMacroPropertyModel(java.lang.String name,
java.lang.String description,
int type)
Constructs an input property with a name, a description and a type. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
boolean |
checkValidity()
Returns true if the property is valid. |
java.util.List<AdditionalInfoModel> |
getAdditionalInfoList()
Gets the list of Additional Informations. |
java.lang.String |
getDescription()
Returns the description of the input property. |
java.lang.String |
getName()
Returns the name of the input property. |
int |
getType()
Gets the type of the input property. |
boolean |
isPersistentCounter()
Returns true if the input property must be a persistent counter. |
boolean |
isTransientCounter()
Returns true if the input property must be a transient counter. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setDescription(java.lang.String d)
Sets the description of the input property. |
void |
setName(java.lang.String n)
Sets the name of the input property. |
void |
setNotCounter()
Sets if the input property must be neither a persistent nor a transient counter. |
void |
setPersistentCounter(boolean c)
Sets if the input property must be a persistent counter. |
void |
setTransientCounter(boolean c)
Sets if the input property must be a transient counter. |
void |
setType(int t)
Sets the type of the input property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InMacroPropertyModel()
public InMacroPropertyModel(java.lang.String name,
java.lang.String description,
int type)
name - the name of the property.description - the description of the property.type - the type of the property.| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String n)
n - the name of the input property.public java.lang.String getDescription()
public void setDescription(java.lang.String d)
d - the description of the input property.public int getType()
public void setType(int t)
t - the type of the input property.public void setNotCounter()
public boolean isPersistentCounter()
public void setPersistentCounter(boolean c)
c - true if the input property must be a persistent counter,
false otherwise.public boolean isTransientCounter()
public void setTransientCounter(boolean c)
c - true if the input property must be a transient counter,
false otherwise.public java.util.List<AdditionalInfoModel> getAdditionalInfoList()
Additional Informations.
public boolean checkValidity()
setType(int).
public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be added
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||